package com.qf.electronic.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author wu
 * @since 2023-05-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("inspection_reception")
public class InspectionReception extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 巡检任务回执编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 工作单据（巡检任务编号）
     */
    @TableField("inspection_id")
    private Long inspectionId;

    /**
     * 缺陷类型编号
     */
    @TableField("defect_type_id")
    private Integer defectTypeId;

    /**
     * 缺陷等级编号
     */
    @TableField("defect_level_id")
    private Integer defectLevelId;

    /**
     * 完好率
     */
    @TableField("rate")
    private String rate;

    /**
     * 回执状态：0-待提交，1-待审核，2-审核通过，3-驳回
     */
    @TableField("state")
    private int state;

    /**
     * 巡检员
     */
    @TableField("operation_user")
    private String operationUser;

    /**
     * 创建时间
     */
    @TableField("created_time")
    private LocalDateTime createdTime;


}
